
#ifndef COMPANYDAO_STUB_4_WEB_H
#define COMPANYDAO_STUB_4_WEB_H

#include <string>
#include "c2cent/base/basestub4web.h"
#include "app_platform/cntl_info.h"
#include "intf_companydao.h"

namespace erp
{
namespace company
{
namespace dao
{
	#define COMPANYDAO_STUB4WEB_VERSION "ERP_COMPANY_DAO___COMPANYDAO__STUB4WEB_VERSION__1.0 2013-10-25 10:16:19"
    const std::string COMPANYDAO_STUB4WEB_NOUSE = COMPANYDAO_STUB4WEB_VERSION;
	
	class CCompanyDaoStub4Web : public c2cent::CBaseStub4Web, public ICompanyDao	{
	public:
		uint32_t AddAndUpdateCompany(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const erp::company::ddo::CCompanyInfoDdo& companyInfo,
				const std::string& inReserve,
				std::string& errmsg,
				std::string& outReserve
	    );
		uint32_t DeleteCompany(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const erp::company::ddo::CCompanyInfoDdo& companyInfo,
				const std::string& inReserve,
				std::string& errmsg,
				std::string& outReserve
	    );
		uint32_t GetCompany(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const erp::company::ddo::CCompanyFilterDdo& companyFilter,
				const std::string& inReserve,
				std::string& errmsg,
				std::vector<erp::company::ddo::CCompanyInfoDdo >& companyInfo,
				std::string& outReserve
	    );
		uint32_t GetCompanyByIds(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const std::set<uint32_t >& companysysNoList,
				const std::string& inReserve,
				std::string& errmsg,
				std::map<uint32_t,erp::company::ddo::CCompanyInfoDdo >& companyInfo,
				std::string& outReserve
	    );
	};

}
}
}
 
#endif /* COMPANYDAO_STUB_4_WEB_H */
